package pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @TableName t_order_good
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderGood implements Serializable {
    /**
     * 订单商品表主键
     */
    private Integer id;

    /**
     * 名称及规格
     */
    private String name;

    /**
     * 单位
     */
    private String unit;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 单价
     */
    private Double price;

    /**
     * 总价
     */
    private Double amount;

    /**
     * 订单表主键
     */
    private Integer orderId;


    private static final long serialVersionUID = 1L;
}